package DatabaseHelper;

import android.content.Context;
import android.provider.SyncStateContract.Constants;

public class LisMocDatabase extends Data {

	public static final String TABLE_NAME = "listmoc";

	public static final String COLUMN_ID = "_id";
	public static final String COLUMN_FILENAME = "filename";
	public static final String COLUMN_ISDEFAULT = "isdefault";
	public static final String COLUMN_TITLE = "title";
	public static final String DATABASE_CREATE = "create table "
			+ TABLE_NAME + "(" 
			+ COLUMN_ID
			+ " integer primary key autoincrement, " 
			+ COLUMN_FILENAME
			+ " text not null, "
			+ COLUMN_ISDEFAULT + " boolean, "
			+ COLUMN_TITLE + " text "
			+ ");";
	public LisMocDatabase(Context context){
		super(context, Constans.DATABASE_NAME, Constans.DATABASE_VERSION);
	}

	@Override
	protected String getCreateStatement() {
		// TODO Auto-generated method stub
		return DATABASE_CREATE;
	}

	@Override
	protected String getTableName() {
		// TODO Auto-generated method stub
		return TABLE_NAME;
	}

}
